import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    routes: [{
            path: '/login',
            name: 'Login',
            component: () =>
                import ('@/pages/Login')
        },
        {
            path: '/home',
            name: 'Home',
            component: () =>
                import ('@/pages/Home')
        },
        {
            path: '/Staff',
            name: 'Staff',
            component: () =>
                import ('@/pages/staff')
        },
        {
            path: '/',
            redirect: '/login'
        }
    ]
})